/*
 * Created on Apr 27, 2005
 *
 */
package org.mushroomdb.engine.operation;

import java.util.Iterator;

import org.mushroomdb.engine.optimizer.RelationOperationVisitor;
import org.mushroomdb.executionplan.ExecutionPlanElement;



/**
 * @author Matias
 *
 */
public interface RelationOperation {

	public boolean isUnary();
	
	public boolean isBinary();
	
	public Iterator execute();
	
	public ExecutionPlanElement buildExecutionPlan();
	
	/**
	 * Agregado por Hache para optimizar
	 * @param v
	 */
	public void accept(RelationOperationVisitor v);
}
